<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>2-5</title>
		<style>
			.link-group{
				padding: 0;
				margin:0;	
				font-size:0;
			}
			.link-group li{
				display: inline-block;
				padding:10px 20px;
				background-color: pink;
				color: black;
				text-decoration: none;
				font-size:16px;
			}
			.link-group li a{
				color:black;
				text-decoration: none;
			}
			.link-group li a:hover{
				color:pink;
			}
			.link-group li:hover{
				background-color: black;
			}
		</style>
	</head>
	<body>
		<ul class="link-group">
			<li><a href="2-1.html">链接1</a></li>
			<li><a href="2-2.html">链接2</a></li>
			<li><a href="2-3.html">链接3</a></li>
			<li><a href="2-4.html">链接4</a></li>
		</ul>
	</body>
</html>
